package com.zhixi.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhixi.pojo.TbUser;
import com.zhixi.service.TbUserService;
import com.zhixi.mapper.TbUserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author zhangzhixi
 * @description 针对表【tb_user(用户信息)】的数据库操作Service实现
 * @createDate 2022-08-06 21:55:34
 */
@Service
public class TbUserServiceImpl extends ServiceImpl<TbUserMapper, TbUser>
        implements TbUserService {

    @Autowired
    private TbUserMapper userMapper;

    @Override
    public int insertUser(TbUser user) {
        return userMapper.insertUser(user);
    }
}




